package com.sll.hosptials.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@ApiModel("新增角色信息")
public class AddOrUpdateRoleInfoReq {

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty("角色名")
    @NotBlank(message = "角色名不能为空")
    private String roleName;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("角色编码")
    private String roleCode;

    @ApiModelProperty("是否生效")
    private Integer enable;


}
